package com.zrrd.homework._0325_0331.h6;

/**
 * @author WanJl
 * @version 1.0
 * @title Product
 * @description
 * @create 2024/3/31
 */
public class Product {
    private String name;
    private int count;

    public Product() {
    }

    public Product(String name, int count) {
        this.name = name;
        this.count = count;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }

    @Override
    public String toString() {
        return "Product{" +
                "name='" + name + '\'' +
                ", count=" + count +
                '}';
    }
}
